<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Library</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SpiderBasic - Library</font></b></p>

<p><b>Overview</b></p><blockquote>





Libraries are shared OS components which contain specific functions available to the programmer. For example, 
a library may contain functions designed to handle and manipulate pictures with ease. Each OS provides a number of 
shared libraries which help to ease the programmers life. With PureBasic, it is possible to access these external 
libraries not only easily, but also dynamically! 

<br>
<br>

The reason that libraries are so useful, is due to the fact that they are separate from the applications 
which use them, but at the same time shared between these applications. A library file requires only that 
it be loaded into memory once, this therefore saves memory, especially when it is a commonly used library. 
The programmer also benefits, since there is no need to keep re-inventing the wheel every time 
a clever feature is called for within an application. 

<br>
<br>

In addition, libraries are an excellent place to store procedures which are used by several programs. 
These libraries are easy to update, and when changes are made, there is no need to change the main 
executable which makes use of this library. 

<br>
<br>

Under the Windows OS, shared libraries are well known as: 'DLL's, or Dynamic Link Libraries. 
 
</blockquote><p><b>Command Index</b><blockquote>
<a href="callcfunction.html">CallCFunction</a><br>
<a href="callcfunctionfast.html">CallCFunctionFast</a><br>
<a href="callfunction.html">CallFunction</a><br>
<a href="callfunctionfast.html">CallFunctionFast</a><br>
<a href="closelibrary.html">CloseLibrary</a><br>
<a href="countlibraryfunctions.html">CountLibraryFunctions</a><br>
<a href="examinelibraryfunctions.html">ExamineLibraryFunctions</a><br>
<a href="getfunction.html">GetFunction</a><br>
<a href="getfunctionentry.html">GetFunctionEntry</a><br>
<a href="islibrary.html">IsLibrary</a><br>
<a href="libraryfunctionaddress.html">LibraryFunctionAddress</a><br>
<a href="libraryfunctionname.html">LibraryFunctionName</a><br>
<a href="libraryid.html">LibraryID</a><br>
<a href="nextlibraryfunction.html">NextLibraryFunction</a><br>
<a href="openlibrary.html">OpenLibrary</a><br>
</blockquote></p>

<p><b>Example</b></p><blockquote>
<a href="../Examples/Library.pb.html">Library.pb</a>

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center><a href=../reference/reference.html>Reference Manual - Index</a></center>

</body></html>